﻿<?xml version="1.0" encoding="utf-8" ?>
<presentation>
  <controls>
    <control identifier="workarea_insert">
      <name>Nytt arbetsområde</name>
      <type>dialog</type>
      <object>workareas</object>
      <form>
        <control type="textbox" bind="name" focus="true" required="true" >Namn</control>
        <control type="file" bind="filename" action="browse" actionname="bläddra" multiple="true">Filnamn</control>
        <control type="button" action="cancel">Avbryt</control>
        <control type="button" action="insert">Spara</control>
      </form>
    </control>
    
    <control identifier="student_insert">
      <name>Ny elev</name>
      <type>dialog</type>
      <object>students</object>
      <form>
        <control type="combobox" lookup="classes" bind="class_id">Klass</control>
        <control type="textbox" bind="firstname" focus="true" required="true" >Förnamn</control>
        <control type="textbox" bind="lastname" required="true">Efternamn</control>
        <control type="button" action="cancel">Avbryt</control>
        <control type="button" action="insert">Spara</control>
      </form>
    </control>
    <control identifier="class_insert">
      <name>Ny klass</name>
      <type>dialog</type>
      <object>classes</object>
      <form>
        <control type="textbox" bind="name" required="true">Namn</control>
        <control type="hidden" bind="period_id"></control>
        <control type="button" action="cancel">Avbryt</control>
        <control type="button" action="insert">Spara</control>
      </form>
    </control>
    <control identifier="subject_insert">
      <name>Nytt ämne</name>
      <type>dialog</type>
      <object>subjects</object>
      <form>
        <control type="textbox" bind="name" required="true">Namn</control>
        <control type="button" action="cancel">Avbryt</control>
        <control type="button" action="insert">Spara</control>
      </form>
    </control>
    <control identifier="test_insert">
      <name>Nytt prov</name>
      <type>dialog</type>
      <object>tests</object>
      <form>
        <control type="combobox" lookup="subjects" bind="subject_id">Ämne</control>
        <control type="textbox" bind="name" required="true">Namn</control>
        <control type="file" bind="filename" action="browse" actionname="bläddra" multiple="true">Filnamn</control>
        <control type="textbox" bind="tag" multiline="true">Beskrivning</control>
        <control type="button" action="cancel">Avbryt</control>
        <control type="button" action="insert">Spara</control>
      </form>
    </control>
    
  </controls>
</presentation>